package top.zhangjianyong.blog.params.user;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * 用户更新
 *
 * @author HDN
 * @since 2024/7/28 上午11:25
 */
public record UserUpdateParam(
    @NotEmpty(message = "昵称不能为空") String nickname,
    @NotEmpty(message = "姓名不能为空") String realName,
    @NotNull(message = "生日不能为空") LocalDate birthday,
    @NotEmpty(message = "邮箱不能为空") String email,
    @NotEmpty(message = "号码不能为空") String phone,
    @NotEmpty(message = "描述不能为空") String description,
    @NotEmpty(message = "博客名称不能为空") String blogName,
    @NotEmpty(message = "博客描述不能为空") String blogDescription,
    @NotEmpty(message = "位置不能为空") String location,
    String personalSummary,
    String blogSummary) {}
